<?php
ini_set('display_errors', 0);
include "../connect.php";
if(!isset($_SESSION))
	session_start();
	$email=$_SESSION["emailadmin"];
$kttk = $_SERVER['SERVER_NAME']; 
//include "../connect.php"; 
include "function.php";

if (!isset ($_SESSION["emailadmin"]))
{
header("location:login.php");
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Internet Dreams</title>
<link rel="stylesheet" href="css/screen.css" type="text/css" media="screen" title="default" />
<!--  datetimepicker -->
<link rel="stylesheet" type="text/css" href="css/jquery.datetimepicker.css"/ >
<!--  menudrop -->
<link rel="stylesheet" type="text/css" href="css/menudrop.css"/ >

<!--  jquery core -->
<script src="js/jquery-1.11.0.js" type="text/javascript"></script>
<script src="js/ngocluu.js" type="text/javascript"></script>
<script src='js/menu_jquery.js'></script> 	<!-- menudrop -->
<link href='css/fullcalendar.css' rel='stylesheet' /> <!-- Calendar -->
<link href='css/fullcalendar.print.css' rel='stylesheet' media='print' /> <!-- Calendar -->
<script src='js/fullcalendar.min.js'></script> 	<!-- Calendar -->
<!--  jquery datimepicker -->
<script src="js/jquery.datetimepicker.js"></script>
<!--  show messege when delete update insert -->
<script>
$(document).ready(function() {
	$(".close-yellow").click(function () {
		$("#message-yellow").fadeOut("slow");
	});

	$(".close-red").click(function () {
		$("#message-red").fadeOut("slow");
	});
	$(".close-blue").click(function () {
		$("#message-blue").fadeOut("slow");
	});
	$(".close-green").click(function () {
		$("#message-green").fadeOut("slow");
	});
	setInterval(function(){ $("#huysan").load("include/huysan.php"); }, 300000);
});
</script>
<script language="javascript">
 	function quaylai()
	{
		window.history.go(-1);
		}
	</script>
<?php include 'include/messagescript.php';?>
</head>
<body> 
<div id="huysan"></div>
<?php include 'include/search.php'; ?>
<div class="clear">&nbsp;</div> 
<?php include 'include/menu.php'; ?>
 <div class="clear"></div>
<!-- start content-outer ........................................................................................................................START -->
<div id="content-outer">
<!-- start content -->
<div id="content">
	<?php
		include "actionadmin.php";
	?>	
</div>
<!--  end content -->
<div class="clear">&nbsp;</div>
</div>
<!--  end content-outer........................................................END -->

<div class="clear">&nbsp;</div>  
	<?php
        include 'include/footer.php';
    ?>
    
</body>
</html>
